<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>注册用户</title>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/md5.js"></script>
</head>
<script type="text/javascript">
    
    function saveSubmit(){
    	/* var password = $("#password").val();
        //加密成md5
        var passwd = $.md5(password);
        $("#password").val(passwd); */
        $("#save_form").submit();
    }
    
</script>
<body>

	<form id="save_form" action="/userLogin/user/registerSave" method="post">
		<table>
			<tr>
				<td>用户名:</td>
				<td><input id="username" name="username" type="text"></td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input id="password" name="password" type="password"></td>
			</tr>
			<tr>
				<td><button onclick="saveSubmit()">保存</button></td>
			</tr>
		</table>
	</form>
</body>
</html>